home *** CD-ROM | disk | FTP | other *** search
/ Aminet 32 / Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso / Aminet / dev / basic / UDP_Chat.readme < prev   
Text File  |  1999-07-01  |  4KB  |  75 lines

  1. Short:    UDPfuncsV2.5 for Blitz-good for Net games
  2. Author:   anton@ww.co.nz (Anton Reinauer)
  3. Uploader: anton@ww.co.nz (Anton Reinauer)
  4. Version:  2.5
  5. Type:     dev/basic
  6. Requires: dev/basic/TCP-to-Blitz.lha, WB 2.0+, min 1.5 meg mem, TCP stack
  7. -Ie:      Miami 
  8.  
  9.   These are functions to use the UDP protocol for multiplayer internet
  10. games in Blitz2. Also there is a small IRC-like chat program which is a 
  11. good Net game communications test-bed. It checks wether packets have 
  12. arrived at their destination by using an acknowledgement system, and 
  13. resends packets if necessary (it is also able to send packets unreliably
  14. if wanted). Also it can also act as either a Server or Client. It has full
  15. Connect/Disconnect routines- each player is informed of the new player and
  16. starts sending any messages to the new player, as the communication is still
  17. Peer-To-Peer. Players are automatically disconnected by the Server if they
  18. can't be contacted for a certain amount of time.
  19.   There's a few TCP functions as well, like converting an ASCII address to
  20. numerical (long), and vice-versa, getting your local IP address etc. Some 
  21. of the log-in and message protocols could be used in TCP games as well.
  22.   It has an Arexx port to allow you to automatically connect to other
  23. UDP_Chat programs from AmiComSys, IRC, StrICQ etc- you just have to pass a
  24. host address to UDP_Chat. 
  25.  
  26.   UDP is more appropriate for fast action games, like Doom clones,
  27. XWing clones, or platformers, maze games etc; anything that needs small 
  28. lags (ping times), to remain playable over the Internet/LAN.
  29.  
  30.                          What's new in V2.5!
  31.  
  32.  Version 2.5  14/06/1999 
  33. ------------
  34.   Shifted LocalHost: button to the left to allow for longer localhost
  35. names.
  36.   You can now send and receive Unreliable messages. I've added 
  37. the Function Send_Unreliable_Message{}. Decode_Packet{} now recognises
  38. unreliable packets and sends them to Security_Warning to be printed out. 
  39.   Button 7 now toggles between sending Reliable and Unreliable messages.
  40. Any sent unreliable messages now have SU at the beginning of the line,
  41. and any received unreliable messages have RU at the beginning.
  42.   Fixed a bad bug- well bad programming I'd done early on actually. 
  43. Send_Reliable_Message{} was changing last_message_number at certain times,
  44. when only Find_Next_Message{} should have been dealing with it- naughty! 
  45.   UDP_Header is V1.2, the net protocol header is now V0.5 
  46.   I've changed Security_Warning{} and Comms_Debug{}, so they now put the
  47. messages into arrays rather than calling Print_String{}. Instead you can
  48. get the messages by calling either Read_Security_Warning{}, or 
  49. Read_Comms_Debug_Messages{} which return either a message or empty
  50. string "", if there's no more messages waiting to be printed out. 
  51.   Print_String{} has been put with the Game functions, so now you can cut
  52. and paste all the UDP stuff into your program in one section.
  53.   Added some more Theory to the Guide.
  54.  
  55.  
  56. ============================= Archive contents =============================
  57.  
  58. Original  Packed Ratio    Date     Time    Name
  59. -------- ------- ----- --------- --------  -------------
  60.    22203    8736 60.6% 23-Apr-98 12:58:06 +Lag problems in Net games 
  61.     2614     964 63.1% 30-Apr-99 12:15:48 +net_protocol_header.bb2
  62.     1242     219 82.3% 30-Apr-99 12:15:48 +net_protocol_header.bb2.xtra
  63.   283474   79146 72.0% 18-Jun-99 17:24:42 +Old_Stuff.lha
  64.      267     196 26.5% 12-May-98 22:17:14 +Quit_UDP_Chat.rexx
  65.     1290     666 48.3% 29-Jul-98 15:04:56 +UDP_Chat.rexx
  66.    39499   15351 61.1% 14-Jun-99 21:31:50 +UDP-Examples.guide
  67.    53411   13772 74.2% 14-Jun-99 21:36:28 +UDP_ChatV2.5.asc
  68.     1242     179 85.5% 14-Jun-99 21:14:38 +UDP_ChatV2.5.bb2.xtra
  69.     5657    2091 63.0% 23-Apr-99 19:19:02 +UDPFuncs.bb2
  70.     1242     189 84.7% 23-Apr-99 19:19:02 +UDPFuncs.bb2.xtra
  71.     1206     522 56.7% 05-May-99 13:23:38 +UDPHeader.bb2
  72.     1242     190 84.7% 05-May-99 13:23:38 +UDPHeader.bb2.xtra
  73. -------- ------- ----- --------- --------
  74.   414589  122221 70.5% 18-Jun-99 21:36:56   13 files
  75.